/*
 * IntNode.h
 *
 *  Created on: 20/04/2009
 *      Author: santiago
 */

#ifndef INTNODE_H_
#define INTNODE_H_

#include "Node.h"

/**
 * Default IntNode for list
 */
class IntNode : public Node {
private:
	int data;
public:

	/**
	 * Default Constructor & Destructors
	 */
	IntNode();
	virtual ~IntNode();
	/**
	 * Returns node value
	 */
	int getNodeValue() const;
	/**
	 * Sets the node value
	 */
	void setNodeValue(int value);
	/**
	 * Virtual clone to implement. Virtual copy constructor.
	 */
	virtual IntNode* clone() const;
	/**
	 * Virtual implementation of equals
	 */
	virtual bool equals(const Node& node) const;

};

#endif /* INTNODE_H_ */
